package se.sweco.ws.impl;

import java.util.ArrayList;
import java.util.List;

public class Route {
	private int routeId;
	private List<Coord> coords;
	
	public Route(int routeId) {
		this.routeId = routeId;
		coords = new ArrayList<Coord>();
	}
	public int getRouteId() {
		return routeId;
	}
	public void setRouteId(int routeId) {
		this.routeId = routeId;
	}
	public List<Coord> getCoords() {
		return coords;
	}
	public void addCoord(Coord coord) {
		coords.add(coord);
	}
	
	public String toString() {
		return "Route " + routeId + " - " + coords.toString();
	}
}
